home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-03-06 | 1.6 KB | 76 lines | [TEXT/GEOL] |
- Item 4764502 2-Sept-90 04:59PDT
-
- From: D2022 Strata, Gary Bringhurst,PRT
-
- To: MACAPP.TECH$ MacApp Technical
-
- cc: MACAPP.TEST MacApp SQA Team
- MACDTS Macintosh Developer Tech Supt
-
- Sub: More MacApp 2.0 "features"
-
- Some more items of interest in MacApp 2.0 + p2.
-
- By the way, many thanks for the timely release of these bug fixes to the MacApp
- team.
-
- Gary L. Bringhurst
- Strata Inc.
- D2022
-
-
- ****
- In TPopup.DrawPopupBox:
-
- IF SectRect(area, menuRect, colorRect) & (theItem <> '') THEN { Fix from TN
- TPopup Bug #1 }
- BEGIN
- IF (theItem <> '') THEN
- BEGIN
- ...
- END
- ...
- END
-
- should be:
-
- IF SectRect(area, menuRect, colorRect) THEN { Fix from TN TPopup Bug #1 }
- BEGIN
- IF (theItem <> '') THEN
- BEGIN
- ...
- END
- ...
- END
-
-
- ****
- In DisposeIfHandle there is a redundent test for IsHandlePurged.
-
-
- ****
- In TObject.GetDynamicSize it should not be assumed that the object is a Mac
- handle so that subclasses might use other allocation schemes.
-
- GetDynamicSize := GetHandleSize(Handle(self)) - GetClassSize;
-
- should be:
-
- GetDynamicSize := GetInstanceSize - GetClassSize;
-
-
- ****
- Same story in TObject.GetDynamicPtr:
-
- if (GetInstanceSize - classSize) > 0 THEN
-
- should be:
-
- if (GetHandleSize(Handle(self)) - classSize) > 0 THEN
-
-
- I'll admit the "bugs" in TObject won't affect many people, but for consistency,
- and to help me avoid having to change the MacApp sources every time I get them,
- the changes should be made.
-
-